﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLT_Public;
using QLT_Data;
using System.Data;

namespace QLT_BLL
{
   public  class NhomQuyen_BLL
    {
       NhomQuyen_Data nhomQuyen = new NhomQuyen_Data();
       public DataTable LayDuLieu()
       {
           return nhomQuyen.LayDuLieu();
       }
       public DataTable TaoBang(string sql)
       {
           return nhomQuyen.taobang(sql);
       }
       public int insert_NhomQuyen(NhomQuyen_Public tenNQ, NhomQuyen_Public ghiChu, NhomQuyen_Public maPQ)
       {
           return nhomQuyen.Insert_NhomQuyen(tenNQ, ghiChu, maPQ);
       }
       public int update_NhomQuyen(NhomQuyen_Public maNQ, NhomQuyen_Public tenNQ, NhomQuyen_Public ghiChu, NhomQuyen_Public maPQ)
       {
           return nhomQuyen.Update_NhomQuyen(maNQ, tenNQ, ghiChu, maPQ);
       }
       public int delete_NhomQuyen(NhomQuyen_Public maNQ)
       {
           return nhomQuyen.Delete_NhomQuyen(maNQ);
       }
    }
}
